package com.woniu.liuzhougov.report.service.impl;

import com.woniu.liuzhougov.report.dao.AwaitingApprovalReportMapper;
import com.woniu.liuzhougov.report.pojo.Report;
import com.woniu.liuzhougov.report.service.AwaitingApprovalReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional(rollbackFor = Exception.class)
public class AwaitingApproReportServiceImpl implements AwaitingApprovalReportService {


    @Autowired
    private AwaitingApprovalReportMapper reportMapper;

    @Override
    public List<Report> listQReport(Integer userId) {

        return reportMapper.listQReport(userId);
    }
}
